package ar.edu.uba.fi.jmit.graphvisualizer.server.storage;


public class Registry {

	private static DataStorage dataStorage;
	
	private static AlertDataStorage alertInfo;
	
	public static DataStorage getMonitoringDataStorage() {
		if(dataStorage == null) {
			dataStorage = new DataStorage();
		}
		return dataStorage;
	}
	
	public static AlertDataStorage getAlertDataStorage() {
		if(alertInfo == null) {
			alertInfo = new AlertDataStorage();
		}
		return alertInfo;
	}
	
}
